package com.beans;

import java.util.Date;

import javax.validation.constraints.NotBlank;

public class StudentInfo {
	
	public StudentInfo() {}

	private Integer id;//id
	@NotBlank(message="{stuName}")
	private String stuName;//学生名字
	private String password;//密码
	@NotBlank(message="{stuName}")
	private String email;//邮箱
	private String note;//备注
	private Integer sex;//性别
	private Date createTime;//创建时间
	private Date birthday;//生日
	
	public String toString() {
		return "StudentInfo [id=" + id + ", stuName=" + stuName + ", password=" + password + ", email=" + email
				+ ", note=" + note + ", sex=" + sex + ", createTime=" + createTime + ", birthday=" + birthday + "]";
	}
	
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStuName() {
		return stuName;
	}
	public void setStuName(String stuName) {
		this.stuName = stuName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
